<template>
  <div class='box'>
      <backHeader title='公告详情'></backHeader>
      <div class="message_wrap">
          <div class="title_wrap">
              <div class="title">{{item.title}}</div>
              <div class="time">{{item.time}}</div>
          </div>
          <div class="content">
              <p>{{item.content}}</p>
          </div>
      </div>
  </div>
</template>

<script>
import backHeader from '../../components/backHeader'
export default {
  components: {
    backHeader
  },
  data () {
    return {
      item: this.$route.params.item
    }
  },
  mounted () {
  }
}
</script>

<style long='less' scoped>
.box{
    height:calc(100vh);
    background-color:#fff;
}
.message_wrap {
    -ms-flex: 1 1;
    flex: 1 1;
    width: 100%;
    padding: 16px 24px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: scroll;
}
.message_wrap .title_wrap {
    border-bottom: 1px solid #ddd;
}
.message_wrap .title_wrap .title {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
}
.message_wrap .title_wrap .time {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}
.message_wrap .content {
    -ms-flex: 1 1;
    flex: 1 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #666;
    font-size: 13px;
    letter-spacing: .5px;
    line-height: 18px;
}
.message_wrap .content p {
    margin: 16px auto;
    color: #666;
}
</style>
